package com.zy.test.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zy.test.entity.User;
import com.zy.test.service.UserService;
import com.zy.test.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author jhr
* @description 针对表【user(user表：
ID，账号，初始密码，备注，usertype)】的数据库操作Service实现
* @createDate 2023-04-03 15:37:45
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService{

    @Resource
    UserMapper userMapper;
    @Override
    public List<User> getUsers() {
        return userMapper.selectList(null);
    }
}




